<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>预约管理</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="${pageContext.request.contextPath}/back/css/x-admin.css" media="all">
<link rel="stylesheet" href="${pageContext.request.contextPath}/back/css/pag.css" media="all">
</head>
<body>
	<div class="x-nav">
		<span class="layui-breadcrumb"> <a><cite>首页</cite></a> <a><cite>就诊管理</cite></a>
		</span> <a class="layui-btn layui-btn-small"
			style="line-height: 1.6em; margin-top: 3px; float: right"
			href="javascript:location.replace(location.href);" title="刷新"><i
			class="layui-icon" style="line-height: 30px">ဂ</i></a>
	</div>
	<div class="x-body">
		<form class="layui-form x-center" action="" style="width: 85%">
			<div class="layui-form-pane">
				<div class="layui-form-item">
					
					
				</div>
			</div>
		</form>
		<div class="tools">
			<ul class="toolbar">
				
			</ul>
			<span class="x-right" style="line-height: 25px">共有数据：2 条</span>
			</xblock>
		</div>
		<table class="tablelist">
			<thead>
				<tr>
					<th><input onclick="selectAll()" type="checkbox"
						name="controlAll" style="" id="controlAll"></th>
					<th>编号</th>
					<th>姓名</th>
					<th>医生</th>
					<th>时间</th>
					
				</tr>
			</thead>
			<tbody>
				<!-- 判断是否为空数据 -->
				<c:if test="${list==null}">
					<jsp:forward page="${pageContext.request.contextPath}/registration"></jsp:forward>
				</c:if>
				<c:forEach items="${list}" var="registration">
					<tr>
						<td><input onclick="selectAll()" type="checkbox"
							name="controlAll" style="" id="controlAll"></td>
						<td>${registration.registrationid}</td>
						<td>${registration.patientName}</td>
						<td>${registration.doctorName}</td>
						<td>${registration.registrationtime}</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<div class="page" v-show="show">
			<div class="pagelist">
				<span class="jump">上一页</span> <span class="jump">1</span> <span
					
					class="jump">下一页</span> <span class="jumppoint">跳转到：</span> <span
					class="jumpinp"> <input type="text">
				</span> <span class="jump gobtn">GO</span>
			</div>
		</div>
	</div>
	<br />
	<br />
	<br />
	<script src="${pageContext.request.contextPath}/back/lib/layui/layui.js" charset="utf-8"></script>
	<script src="${pageContext.request.contextPath}/back/js/x-layui.js" charset="utf-8"></script>
	<script src="${pageContext.request.contextPath}/back/js/jquery2.js" charset="utf-8"></script>
	<script src="${pageContext.request.contextPath}/back/js/js.js" charset="utf-8"></script>
	<script>
		
	</script>

	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		
	</script>
</body>
</html>